package A1;

public class B6 {

	public static void main(String[] args) {
		char c1,c2;
		c1='A';
		c2='a';
		String str1=new String("A"),str2=new String("a");
		if(c1==c2)
			System.out.println("char "+c1+" equals "+"char"+c2);
		else 
			System.out.println("char "+c1+"doesn't equal "+"char "+c2);
		if(str1.equals(str2))
			System.out.println("string "+str1+" equals "+" string"+str2);
		else
			System.out.println("string "+str1+"doesn equal" + "string "+str2);
	}
}
